#pragma once
#include <QMainWindow>
#include <QKeyEvent>
#include "const.h"
#include "ee2048.h"

class GameScene : public QMainWindow
{
    Q_OBJECT
public:
    explicit GameScene(QWidget* parent = nullptr);
    void paintEvent(QPaintEvent*);
    void keyPressEvent(QKeyEvent*);

public:
    Const cs;
    QPushButton* back;
    EE2048 ee;
    QLabel* label[100];

signals:
    void gameSceneBack();

};
